package com.example.leetcode.twopoint;

import com.example.leetcode.twopoint.common.TwoPointUtils;

import java.util.Arrays;

class Solution905 {
    public int[] sortArrayByParity(int[] nums) {
        return TwoPointUtils.sortArrayByParity(nums);
    }
}

public class leetcode905 {
    public static void main(String[] args) {
        Solution905 solution905 = new Solution905();
        int[] nums = {3, 1, 2, 4};
        System.out.println(Arrays.toString(solution905.sortArrayByParity(nums)));
    }
}
